package com.gwtjs.icustom.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel("服务器主机")
public class ServerHost {

	@ApiModelProperty("主键id")
	private Integer id;

	@ApiModelProperty("主机IP")
	private String hostIp;

	@ApiModelProperty("主机帐户")
	private String account;

	@ApiModelProperty("主机名")
	private String hostName;

	@ApiModelProperty("主机密码")
	private String password;

	@ApiModelProperty("主机SSH端口")
	private Integer hostPort;

	@ApiModelProperty("防火墙状态(是/否)")
	private Integer firewallFlag;

	@ApiModelProperty("selinux状态(是/否)")
	private Integer selinuxFlag;

	@ApiModelProperty("ssh状态(是/否)")
	private Integer sshFlag;

	@ApiModelProperty("hosts设置状态)")
	private Integer isHostsFlag;

	@ApiModelProperty("主机优化状态)")
	private Integer isOptimize;

	@ApiModelProperty("yum源状态(服务端为httpd状态)")
	private Integer yumFlag;
	@ApiModelProperty("JDK状态(是/否)")
	private Integer jdkFlag;
	@ApiModelProperty("系统vim等工具安装状态")
	private Integer isSysLibFlag;
	@ApiModelProperty("ntpd主机(是/否)")
	private Integer isNtpdFlag;
	@ApiModelProperty("ntpd client")
	private Integer isNtpdClientFlag;

	@ApiModelProperty("httpd主机(是/否)")
	private Integer isHttpdFlag;
	@ApiModelProperty("sql主机(是/否)")
	private Integer isSqlFlag;

	@ApiModelProperty("yum -y install ambari-server主机(是/否)")
	private Integer isAmbariFlag;

	@ApiModelProperty("ambari-client主机(是/否)")
	private Integer isAmbariClientFlag;

	@ApiModelProperty("ambari_drivers分发完成")
	private Integer isAmbariDBDriverFlag;

	@ApiModelProperty("ambari-setup")
	private Integer isAmbariSetupFlag;

	@ApiModelProperty("ambari-db-init")
	private Integer isAmbariDBInit;

	@ApiModelProperty("ambari-server-optimize")
	private Integer isAmbariServerOptimize;

	public Integer getIsNtpdClientFlag() {
		return isNtpdClientFlag;
	}

	public void setIsNtpdClientFlag(Integer isNtpdClientFlag) {
		this.isNtpdClientFlag = isNtpdClientFlag;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getHostIp() {
		return hostIp;
	}

	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getHostPort() {
		return hostPort;
	}

	public void setHostPort(Integer hostPort) {
		this.hostPort = hostPort;
	}

	public Integer getFirewallFlag() {
		return firewallFlag;
	}

	public void setFirewallFlag(Integer firewallFlag) {
		this.firewallFlag = firewallFlag;
	}

	public Integer getSelinuxFlag() {
		return selinuxFlag;
	}

	public void setSelinuxFlag(Integer selinuxFlag) {
		this.selinuxFlag = selinuxFlag;
	}

	public Integer getSshFlag() {
		return sshFlag;
	}

	public void setSshFlag(Integer sshFlag) {
		this.sshFlag = sshFlag;
	}

	public Integer getIsHostsFlag() {
		return isHostsFlag;
	}

	public void setIsHostsFlag(Integer isHostsFlag) {
		this.isHostsFlag = isHostsFlag;
	}

	public Integer getIsOptimize() {
		return isOptimize;
	}

	public void setIsOptimize(Integer isOptimize) {
		this.isOptimize = isOptimize;
	}

	public Integer getYumFlag() {
		return yumFlag;
	}

	public void setYumFlag(Integer yumFlag) {
		this.yumFlag = yumFlag;
	}

	public Integer getJdkFlag() {
		return jdkFlag;
	}

	public void setJdkFlag(Integer jdkFlag) {
		this.jdkFlag = jdkFlag;
	}

	public Integer getIsSysLibFlag() {
		return isSysLibFlag;
	}

	public void setIsSysLibFlag(Integer isSysLibFlag) {
		this.isSysLibFlag = isSysLibFlag;
	}

	public Integer getIsNtpdFlag() {
		return isNtpdFlag;
	}

	public void setIsNtpdFlag(Integer isNtpdFlag) {
		this.isNtpdFlag = isNtpdFlag;
	}

	public Integer getIsHttpdFlag() {
		return isHttpdFlag;
	}

	public void setIsHttpdFlag(Integer isHttpdFlag) {
		this.isHttpdFlag = isHttpdFlag;
	}

	public Integer getIsSqlFlag() {
		return isSqlFlag;
	}

	public void setIsSqlFlag(Integer isSqlFlag) {
		this.isSqlFlag = isSqlFlag;
	}

	public Integer getIsAmbariFlag() {
		return isAmbariFlag;
	}

	public void setIsAmbariFlag(Integer isAmbariFlag) {
		this.isAmbariFlag = isAmbariFlag;
	}

	public Integer getIsAmbariClientFlag() {
		return isAmbariClientFlag;
	}

	public void setIsAmbariClientFlag(Integer isAmbariClientFlag) {
		this.isAmbariClientFlag = isAmbariClientFlag;
	}

	public Integer getIsAmbariDBDriverFlag() {
		return isAmbariDBDriverFlag;
	}

	public void setIsAmbariDBDriverFlag(Integer isAmbariDBDriverFlag) {
		this.isAmbariDBDriverFlag = isAmbariDBDriverFlag;
	}

	public Integer getIsAmbariSetupFlag() {
		return isAmbariSetupFlag;
	}

	public void setIsAmbariSetupFlag(Integer isAmbariSetupFlag) {
		this.isAmbariSetupFlag = isAmbariSetupFlag;
	}

	public Integer getIsAmbariDBInit() {
		return isAmbariDBInit;
	}

	public void setIsAmbariDBInit(Integer isAmbariDBInit) {
		this.isAmbariDBInit = isAmbariDBInit;
	}

	public Integer getIsAmbariServerOptimize() {
		return isAmbariServerOptimize;
	}

	public void setIsAmbariServerOptimize(Integer isAmbariServerOptimize) {
		this.isAmbariServerOptimize = isAmbariServerOptimize;
	}

}
